/**
 * Created by vincent on 2016/12/27.
 */
moduleResource.factory('LoginResource', function (CambioResource, $$CambioConfig) {

    const resource = $$CambioConfig.SZ_USER_SYSTEM_RESOURCE_URL + '/admin';

    return CambioResource(resource + '/login', {}, {
        login: {
            url: resource + '/login',
            isArray: false,
            method: 'POST'
        }
    });
});